require('../css/common/normalize.css')
require('../css/common/reset.css')
require('../css/common/property.css')
require('../css/common/basic.less')
require('../lib/fonts/iconfont.css')

require('../css/motion-outDoor.less') 


//导入axios
const axios = require("axios");

//导入weui
require("weui")
const weui = require("weui.js")

const runOut=document.querySelector('.outDoor-runOut')
const status1=document.querySelector('.outDoor-status')
const start=document.querySelector('.outDoor-start')

/* 
    当点击暂停的时候就隐藏自己，显示开始和结束
*/
runOut.addEventListener('click',function(){
    console.log(2035);
    runOut.style.display='none'
    status1.style.display='flex'
})

start.addEventListener('click',function(){
    console.log(2035);
    runOut.style.display='flex'
    status1.style.display='none'
})

//点击定位的时候就跳转到地图

document.querySelector('#GPSBtn').addEventListener('click',function(){
    location.href='./motion-map.html'
})

//点击结束的时候跳转到地图页面
document.querySelector('.outDoor-stop').addEventListener('click',function(){
    location.href='./motion-map.html'
})